
const Ajax = window.ajaxbusinessAssets;

export const apiProjectConfigList = (params) => Ajax.request(`/v1/basic/project/config/projectConfigList`, 'post', params, {
  showLoading: true
});

export const apiInsertProjectConfig = (params) => Ajax.request(`/v1/basic/project/config/insertProjectConfig`, 'post', params, {
  showLoading: true
});

export const apiUpdateProjectConfig = (params) => Ajax.request(`/v1/basic/project/config/updateProjectConfig`, 'post', params, {
  showLoading: true
});

//暂时未使用 apiProjectConfigDetail
export const apiProjectConfigDetail = (params) => Ajax.request(`/v1/basic/project/config/projectConfigDetail`, 'post', params, {
  showLoading: true
});

export const apiProjectConfigSystemQuery = (params) => Ajax.request(`/v1/basic/device/device/list/projectConfigSystemQuery`, 'post', params, {
  showLoading: true
});

export const apiProjectConfigSystemUpdate = (params) => Ajax.request(`/v1/basic/device/device/list/projectConfigSystemUpdate`, 'post', params, {
  showLoading: true
});
export const apiProjectConfigSystemCreated = (params) => Ajax.request(`/v1/basic/device/device/list/projectConfigSystemCeate`, 'post', params, {
  showLoading: true
});

//暂时未使用 apiProjectConfigSystemDetail
export const apiProjectConfigSystemDetail = (params) => Ajax.request(`/v1/basic/device/device/list/projectConfigSystemDetail`, 'post', params, {
  showLoading: true
});

//基金管理增删改查
export const fundCreated = (params) => Ajax.request(`/v1/basic/assetpackage/create`, 'post', params, {
  showLoading: true
});
export const fundList = (params) => Ajax.request(`/v1/basic/assetpackage/list`, 'post', params, {
  showLoading: true
});
export const fundUpdate = (params) => Ajax.request(`/v1/basic/assetpackage/update`, 'post', params, {
  showLoading: true
});
export const fundDelete = (params) => Ajax.request(`/v1/basic/assetpackage/delete`, 'post', params, {
  showLoading: true
});

//税率配置
export const taxRateList = (params) => window.ajaxFinancialplan.request(`/v1/business/billcategory/bill/category/list`, 'post', params, {
  showLoading: true
});
export const taxRateUpdate = (params) => window.ajaxFinancialplan.request(`/v1/basic/billcategory/bill/category/update`, 'post', params, {
  showLoading: true
});

